package cn.com.bluemoon.daps.notice.infrastructure.service;

import cn.com.bluemoon.daps.common.mp.IBmService;
import cn.com.bluemoon.daps.notice.core.PreSendMsgInfo;
import cn.com.bluemoon.daps.notice.infrastructure.entity.DapSendMailRecord;
import cn.com.bluemoon.daps.notice.template.MetadataImpactMessage;
import cn.com.bluemoon.daps.notice.template.base.BaseMessage;

/**
 * <p>
 * 邮件发送记录表 服务类
 * </p>
 *
 * @author admin
 * @since 2021-06-15
 */
public interface DapSendMailRecordService extends IBmService<DapSendMailRecord> {

    boolean send(BaseMessage baseMsg);

    boolean send(DapSendMailRecord errorRecord);

    PreSendMsgInfo preSend(BaseMessage baseMsg);
}
